package com.meirengu.webview.service.impl;

import com.meirengu.service.impl.BaseServiceImpl;
import com.meirengu.webview.dao.KwArithmeticDao;
import com.meirengu.webview.model.KwArithmetic;
import com.meirengu.webview.service.KwArithmeticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * KwArithmetic服务实现层
 *
 * @author Mao
 * @create Tue Aug 14 21:34:12 CST 2018
 */
@Service
public class KwArithmeticServiceImpl extends BaseServiceImpl<KwArithmetic> implements KwArithmeticService {

    @Autowired
    private KwArithmeticDao kwArithmeticDao;

    /**
     * 根据条件进行分页
     *
     * @param map
     * @return
     */
    public List<KwArithmetic> getModelByPage(Map map) {
        return kwArithmeticDao.getModelByPage(map);
    }
}
